package com.easywork.mystery.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * msg_comm 实体类
 * Fri Feb 15 15:07:53 CST 2019
 * @Mystery
 */ 
@Entity
@Table(name="msg_comm")
public class MsgComm implements Serializable {
	private static final long serialVersionUID = 1L;
	private Long id;
	private Long receiverId;
	private String receiverAccount;
	private Long senderId;
	private String senderAccount;
	private Long msgId;
	private String msgTitle;
	private Integer readflag;
	private Date createtime;
	private Integer state;

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id=id;
	}

	public Long getReceiverId() {
		return receiverId;
	}

	public void setReceiverId(Long receiverId) {
		this.receiverId=receiverId;
	}

	public String getReceiverAccount() {
		return receiverAccount;
	}

	public void setReceiverAccount(String receiverAccount) {
		this.receiverAccount=receiverAccount;
	}

	public Long getSenderId() {
		return senderId;
	}

	public void setSenderId(Long senderId) {
		this.senderId=senderId;
	}

	public String getSenderAccount() {
		return senderAccount;
	}

	public void setSenderAccount(String senderAccount) {
		this.senderAccount=senderAccount;
	}

	public Long getMsgId() {
		return msgId;
	}

	public void setMsgId(Long msgId) {
		this.msgId=msgId;
	}

	public String getMsgTitle() {
		return msgTitle;
	}

	public void setMsgTitle(String msgTitle) {
		this.msgTitle=msgTitle;
	}

	public Integer getReadflag() {
		return readflag;
	}

	public void setReadflag(Integer readflag) {
		this.readflag=readflag;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime=createtime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state=state;
	}

}

